package cn.glutnn.service;

import cn.glutnn.entity.Result;
import cn.glutnn.entity.dto.LoginDTO;
import cn.glutnn.entity.dto.PasswordDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import cn.glutnn.entity.BankUser;


/**
 * (BankUser)表服务接口
 *
 * @author msh
 * @since 2024-10-27 00:37:52
 */
public interface BankUserService extends IService<BankUser> {

    Result<BankUser> updatePassword(PasswordDTO passwordDTO);

    Result login(LoginDTO loginDTO);

    Result<BankUser> selectByName();

    Result<BankUser> updateByUsername(BankUser bankUser);

    Result<BankUser> selectUserByName(String userName);

    Result logout();
}

